home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_1.3 / Include-Strip1.3 / include.h / resources / misc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-07-15  |  533 b   |  22 lines

  1. #ifndef    RESOURCES_MISC_H
  2. #define    RESOURCES_MISC_H
  3. #ifndef    EXEC_TYPES_H
  4. #include    "exec/types.h"
  5. #endif    !EXEC_TYPES_H
  6. #ifndef    EXEC_LIBRARIES_H
  7. #include    "exec/libraries.h"
  8. #endif    !EXEC_LIBRARIES_H
  9. #define    MR_SERIALPORT    0
  10. #define    MR_SERIALBITS    1
  11. #define    MR_PARALLELPORT    2
  12. #define    MR_PARALLELBITS    3
  13. #define    NUMMRTYPES    4
  14. struct    MiscResource    {
  15. struct    Library    mr_Library;
  16. ULONG    mr_AllocArray[NUMMRTYPES];
  17. };
  18. #define    MR_ALLOCMISCRESOURCE    (LIB_BASE)
  19. #define    MR_FREEMISCRESOURCE    (LIB_BASE    +    LIB_VECSIZE)
  20. #define    MISCNAME    "misc.resource"
  21. #endif
  22.